<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PoolToSPTRelationship.aspx.cs" Inherits="PoolToSPTRelationship" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table style="width: 740px">
        <tr>
            <td style="width: 38px">
            </td>
            <td style="width: 38px">
                &nbsp;</td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td colspan="1">
            </td>
            <td colspan="2">
                <strong>Pool &lt;-&gt; Service Provider Type Relationship</strong></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 38px">
            </td>
            <td style="width: 38px">
                &nbsp;</td>
            <td style="width: 100px">
            </td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 38px">
            </td>
            <td style="width: 38px">
                <asp:HyperLink ID="lnkPool" runat="server" NavigateUrl="~/PoolToSPTRelationship.aspx?Entity=Pool" Width="39px">Pool</asp:HyperLink></td>
            <td style="width: 100px">
                <asp:HyperLink ID="lnkServiceProvider" runat="server" NavigateUrl="~/PoolToSPTRelationship.aspx?Entity=ServiceProviderType" Width="138px">Service Provider Type</asp:HyperLink></td>
            <td style="width: 100px">
            </td>
        </tr>
        <tr>
            <td style="width: 38px; height: 27px">
            </td>
            <td style="width: 38px; height: 27px">
                &nbsp;</td>
            <td colspan="2" style="height: 27px">
                </td>
        </tr>
        <tr>
            <td style="width: 38px">
            </td>
            <td align="left" colspan="3">
                <asp:Label ID="lblEntitySelect" runat="server" Text="Select <entity>:"></asp:Label>
                <asp:DropDownList ID="ddlEntity" runat="server" Width="471px" DataTextField="PoolName" DataValueField="PoolID" OnSelectedIndexChanged="ddlEntity_SelectedIndexChanged" AutoPostBack="True">
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td style="width: 38px">
            </td>
            <td align="left" colspan="3">
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 38px">
            </td>
            <td colspan="3">
                <asp:GridView ID="gvResults" runat="server" AllowPaging="True" AllowSorting="false"
     AutoGenerateColumns="false"
     EmptyDataText="no results found"
     PagerSettings-Mode="NextPrevious" PagerSettings-NextPageText="next" PagerSettings-PreviousPageText="prev" OnPageIndexChanging="gvResults_PageIndexChanging" Width="100%" >
     
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
    <RowStyle BackColor="#EFF3FB" Wrap="True" />
    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
    <AlternatingRowStyle BackColor="White" Wrap="True" />
    
    <Columns>
             <asp:TemplateField HeaderText="Select">
                    <ItemTemplate>
                        <asp:CheckBox ID="chkSelect" runat="server" />
                        
                    </ItemTemplate>
                </asp:TemplateField>
                
         
  
                                         
    </Columns>
                    <PagerSettings Mode="NumericFirstLast" />
 </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 38px">
            </td>
            <td style="width: 38px">
            </td>
            <td>
                </td>
            <td>
                <asp:Button ID="btnFunction" runat="server" Text="Add" OnClick="btnFunction_Click" /><asp:TextBox Visible="false" ID="tbPage" runat="server">0</asp:TextBox></td>
        </tr>
    </table>
</asp:Content>

